В крайней статье, мы смогли построить полноценное дерево коммитов. Была единственная проблема в том, что нам надо было передать hash последного коммита.
В папке .git/refs хранятся файлы которые хранят в себе хеш коммита. Чтобы создать референс в git нужно сделать следующее:
echo "<hash>" > .git/refs/heads/<name>
Ну или используя более безопасное решение:
git update-ref refs/heads/<name> <hash>
Теперь вместо просмотра дерева через git log <commit-hash> мы можем использовать git log master .
Базовый функционал ссылок это и есть наши git branches. Для того что-бы "создать" ветку, достаточно просто связать ее название с крайним хешом коммита. Через крайний хеш коммита уже можно воссоздать полностью дерево.
В крайней статье, мы смогли построить полноценное дерево коммитов. Была единственная проблема в том, что нам надо было передать hash последного коммита.
В папке .git/refs хранятся файлы которые хранят в себе хеш коммита. Чтобы создать референс в git нужно сделать следующее:
echo "<hash>" > .git/refs/heads/<name>
Ну или используя более безопасное решение:
git update-ref refs/heads/<name> <hash>
Теперь вместо просмотра дерева через git log <commit-hash> мы можем использовать git log master .
Базовый функционал ссылок это и есть наши git branches. Для того что-бы "создать" ветку, достаточно просто связать ее название с крайним хешом коммита. Через крайний хеш коммита уже можно воссоздать полностью дерево.
BY Dev Tools
Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283
In many cases, the content resembled that of the marketplaces found on the dark web, a group of hidden websites that are popular among hackers and accessed using specific anonymising software.“We have recently been witnessing a 100 per cent-plus rise in Telegram usage by cybercriminals,” said Tal Samra, cyber threat analyst at Cyberint.The rise in nefarious activity comes as users flocked to the encrypted chat app earlier this year after changes to the privacy policy of Facebook-owned rival WhatsApp prompted many to seek out alternatives.
Why Telegram?
Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.